const unsigned char pic[32*32*3]={\
 55, 72, 63,  47, 68, 59,  66, 84, 77,  86, 95, 92,  84, 89, 88,  89,101,103,  90,111,113,  84,109,111,  91,110,115,  89,101,107,  83, 98,101,  90,103,105,  72, 77, 80,  85, 84, 86,  89, 94, 93,  82, 95, 93,  84,112,106,  73, 99, 93,  59, 83, 73,  71, 88, 79,  65, 78, 70,  82, 89, 82,  87, 91, 86,  75, 76, 72,  83, 84, 80,  81, 84, 75,  85, 89, 78,  88, 90, 78,  77, 78, 68,  77, 75, 67,  85, 80, 77,  80, 75, 74, 
 71, 84, 76,  57, 72, 64,  74, 88, 82,  89, 96, 93,  89, 91, 91,  91,100,103,  91,111,112,  87,110,112,  93,112,115,  96,111,114,  80, 95, 98,  83, 96, 98,  77, 85, 85,  83, 88, 87,  78, 86, 85,  71, 86, 82,  64, 90, 84,  68, 91, 83,  74, 93, 84,  75, 91, 80,  72, 81, 71,  87, 91, 85,  86, 87, 83,  93, 94, 90,  81, 82, 78,  76, 79, 70,  78, 82, 71,  85, 87, 75,  83, 85, 73,  82, 80, 72,  88, 85, 81,  85, 80, 79, 
 70, 77, 70,  62, 69, 64,  75, 80, 78,  86, 87, 85, 102,102,102, 101,109,109,  89,104,106,  88,107,110,  86,105,108,  90,108,109,  80, 98, 99,  72, 88, 87,  71, 84, 82,  90,101, 98,  80, 94, 90,  77, 95, 88,  72, 93, 85,  67, 85, 78,  73, 86, 78,  75, 84, 74,  92, 97, 88,  90, 92, 86,  92, 93, 89,  85, 86, 84,  78, 79, 75,  75, 77, 71,  74, 78, 67,  78, 80, 68,  80, 82, 70,  81, 79, 71,  83, 80, 76,  78, 74, 73, 
 81, 82, 78,  76, 77, 73,  89, 87, 86,  97, 92, 93, 113,111,111, 112,116,117,  90,102,104,  90,108,109,  92,112,113,  78, 98, 99,  81, 99, 98,  78, 95, 92,  67, 82, 78,  79, 95, 88,  69, 87, 80,  67, 88, 79,  73, 87, 81,  81, 92, 84,  93,101, 91, 119,120,111, 121,119,111, 120,117,112, 117,115,114, 108,109,107,  80, 83, 81,  82, 84, 78,  79, 83, 72,  86, 88, 76,  86, 86, 74,  81, 79, 71,  77, 77, 71,  78, 77, 73, 
 87, 86, 82,  74, 71, 67,  93, 88, 87, 107,102,103, 103,103,103, 107,111,112, 102,109,112, 105,118,120, 106,124,125,  81,102,100,  76, 93, 90,  82, 97, 93,  69, 84, 80,  70, 88, 81,  73, 92, 83,  75, 94, 85,  85, 92, 85,  97,100, 91, 127,125,117, 125,119,112, 122,114,107, 121,114,111, 126,122,121, 134,134,134, 102,105,103,  92, 96, 91,  80, 83, 74,  90, 89, 79,  85, 84, 74,  79, 77, 69,  76, 76, 70,  85, 86, 82, 
 90, 91, 87,  75, 72, 68,  88, 83, 82, 103,101,100,  97, 99, 99,  97,101,102,  97,102,103, 105,117,119, 102,120,119, 117,135,134,  95,109,107,  84, 95, 92,  75, 86, 83,  79, 93, 87,  89,104, 96,  72, 83, 75, 104,104, 98, 124,121,113, 129,121,114, 129,117,111, 124,109,106, 130,118,116, 115,109,110, 123,122,124, 101,103,103,  93, 96, 94,  80, 80, 74,  82, 81, 71,  81, 79, 69,  83, 81, 73,  80, 80, 74,  82, 83, 79, 
 86, 92, 87,  82, 81, 77,  89, 86, 82,  97, 98, 96, 101,107,106, 105,110,111, 106,110,111, 115,122,125,  96,111,113, 113,129,128, 147,157,157, 100,105,104,  98,105,102, 137,147,141,  92, 99, 94,  91, 92, 88, 118,114,109, 129,121,114, 123,111,105, 124,108,102, 129,112,109, 125,111,112, 122,113,116, 127,126,130,  85, 87, 88,  81, 84, 82,  78, 78, 72,  79, 77, 69,  87, 85, 75,  91, 88, 80,  90, 87, 82,  81, 80, 76, 
 87, 98, 90,  87, 91, 85,  93, 94, 90,  89, 94, 92,  90,101, 99, 101,109,109, 112,116,117, 111,116,119,  93,105,107,  93,106,108, 142,147,148, 112,111,113, 118,120,120, 150,155,154,  97, 98, 96, 109,101,101, 124,118,113, 119,108,104, 127,112,109, 135,116,113, 129,111,110, 124,110,112, 113,103,109, 126,125,129,  96, 97,101,  78, 80, 80,  72, 71, 67,  72, 69, 61,  83, 77, 70,  78, 75, 67,  90, 85, 82,  92, 88, 87, 
 83, 94, 86,  83, 87, 81,  92, 93, 89,  81, 88, 83,  83, 97, 93,  99,107,106, 109,111,112, 108,111,115,  92,101,104,  91,103,105, 108,111,115, 121,117,122, 124,121,123, 117,116,118, 107,100,103, 122,107,111, 116,109,106, 122,110,108, 126,114,110, 129,111,110, 118,102,103, 117,104,106, 116,109,114, 136,134,140, 101,102,106,  75, 77, 78,  76, 75, 71,  67, 64, 59,  80, 77, 69,  77, 71, 66,  83, 78, 75,  92, 87, 86, 
 84, 93, 83,  74, 78, 72,  69, 71, 65,  75, 82, 77,  76, 87, 84,  95,103,102,  98,100,101, 102,103,107,  80, 87, 90,  91,100,104, 112,115,120, 133,129,135, 121,117,122, 113,112,116, 106, 99,104, 121,105,112, 116,108,108, 122,113,110, 134,122,120, 129,116,114, 113, 99,100, 118,107,110, 125,118,123, 138,136,142,  95, 96,100,  74, 76, 76,  75, 76, 72,  60, 60, 54,  77, 75, 67,  74, 70, 65,  83, 76, 73,  91, 83, 83, 
 78, 81, 72,  70, 70, 64,  67, 69, 63,  74, 80, 75,  82, 91, 88,  89, 95, 94,  99,101,102,  97, 98,102,  87, 92, 95,  84, 90, 95,  95, 98,103, 130,130,136, 125,124,128, 118,117,121, 104, 97,102, 112, 98,104, 106,101,100, 114,109,108, 125,118,115, 127,120,117, 116,108,108, 122,116,117, 131,125,130, 120,119,123,  73, 74, 78,  71, 76, 75,  72, 76, 71,  57, 62, 53,  70, 71, 62,  62, 60, 52,  77, 72, 69,  82, 74, 74, 
 65, 62, 57,  74, 71, 66,  70, 70, 64,  80, 84, 79,  79, 84, 82,  89, 94, 93,  97, 99,100,  91, 93, 94,  84, 87, 91,  84, 89, 92,  96,101,104, 131,136,139, 134,137,141, 127,126,130, 106, 99,102, 115,104,107, 107,102,101, 116,112,111, 110,107,103, 122,119,115, 108,107,103, 123,121,121, 126,123,125,  93, 90, 92,  62, 64, 64,  66, 72, 67,  53, 62, 52,  56, 66, 54,  66, 74, 63,  63, 66, 57,  88, 85, 80,  75, 68, 65, 
 67, 61, 56,  78, 75, 70,  69, 70, 66,  74, 78, 73,  81, 84, 82,  90, 92, 92,  98,100,100,  85, 87, 88,  86, 88, 89,  90, 94, 95,  97,102,103, 107,115,115, 131,136,135, 130,128,128, 111,105,106, 117,109,110, 116,111,112, 108,106,105, 111,112,108, 121,125,119, 100,104, 99, 111,112,108, 125,123,122,  97, 95, 95,  64, 67, 65,  62, 70, 63,  47, 61, 49,  53, 70, 56,  51, 67, 50,  55, 63, 52,  88, 89, 80,  76, 72, 67, 
 71, 64, 61,  75, 74, 70,  71, 75, 70,  67, 70, 68,  91, 94, 92,  84, 87, 85,  94, 99, 98,  81, 83, 83,  88, 88, 88,  81, 83, 83,  67, 73, 72,  64, 75, 72, 122,127,125, 130,127,123, 118,111,108, 117,110,107, 112,108,107, 103,104,102, 110,117,110, 104,112,105,  63, 71, 64,  92, 99, 92, 121,122,118, 118,117,113,  83, 87, 81,  52, 64, 52,  41, 60, 43,  45, 70, 50,  44, 66, 47,  57, 73, 56,  75, 81, 70,  67, 65, 57, 
 71, 64, 61,  73, 74, 70,  65, 72, 69,  64, 69, 67,  89, 92, 90,  74, 79, 77,  77, 84, 81,  69, 72, 70,  71, 69, 68,  67, 68, 66,  48, 55, 50,  49, 61, 55, 122,126,120, 126,120,115, 128,118,111, 122,114,107, 114,110,109, 110,111,107, 107,115,108,  52, 66, 55,  51, 62, 52,  69, 77, 67, 121,123,117, 126,126,120,  97,102, 93,  54, 67, 53,  50, 72, 53,  48, 77, 54,  48, 76, 53,  55, 74, 57,  70, 79, 66,  73, 76, 67, 
 78, 73, 72,  72, 75, 73,  67, 76, 73,  53, 60, 57,  90, 93, 91,  63, 68, 66,  67, 74, 71,  53, 58, 56,  64, 62, 61,  74, 73, 69,  50, 57, 52,  44, 57, 49, 113,118,109, 116,108,101, 130,119,111, 118,109,100, 104,100, 99, 100,101, 97,  55, 63, 56,  48, 62, 51,  55, 69, 57,  57, 66, 56,  81, 84, 75, 123,124,115, 120,124,113,  66, 79, 63,  52, 78, 55,  46, 78, 53,  53, 82, 59,  50, 72, 53,  67, 77, 64,  73, 77, 66, 
 72, 78, 73,  60, 64, 59,  63, 62, 58,  68, 65, 61,  89, 83, 78,  85, 79, 74,  68, 64, 59,  50, 50, 44,  56, 60, 54,  70, 77, 70,  48, 56, 49,  41, 49, 42,  88, 92, 86, 137,137,131, 104,100, 95,  99, 92, 89,  72, 94, 75,  40, 62, 43,  40, 67, 47,  37, 69, 45,  45, 73, 50,  61, 76, 55,  70, 72, 53, 110,112, 93, 109,125,102,  52, 78, 54,  53, 83, 58,  49, 81, 56,  53, 85, 60,  50, 83, 56,  52, 79, 53,  61, 80, 55, 
 65, 72, 67,  56, 62, 57,  54, 55, 51,  66, 63, 59,  96, 92, 87,  94, 90, 85,  65, 62, 57,  42, 42, 36,  54, 58, 52,  59, 68, 58,  50, 61, 51,  51, 60, 50,  63, 67, 61, 116,116,110, 116,112,107, 111,105,100,  81,102, 80,  56, 79, 57,  48, 74, 51,  44, 76, 52,  46, 74, 51,  53, 68, 47,  72, 74, 55, 105,107, 88,  98,114, 91,  49, 75, 51,  52, 82, 57,  45, 77, 52,  46, 79, 52,  45, 78, 51,  53, 80, 54,  65, 84, 59, 
 78, 85, 80,  74, 80, 75,  59, 63, 58,  60, 60, 54,  95, 92, 87, 108,105,100,  86, 87, 78,  68, 73, 64,  54, 63, 53,  48, 60, 48,  47, 59, 47,  42, 54, 42,  49, 57, 46,  81, 85, 74, 106,105, 95, 120,115,106,  73, 94, 72,  53, 74, 52,  56, 82, 59,  49, 78, 55,  46, 74, 51,  58, 73, 52,  74, 76, 57, 111,113, 94,  91,106, 85,  49, 75, 51,  53, 83, 58,  49, 80, 53,  48, 81, 54,  50, 83, 56,  59, 86, 60,  66, 88, 60, 
 57, 67, 61,  67, 74, 69,  59, 66, 59,  59, 61, 55,  85, 87, 81, 101,104, 95,  83, 89, 78,  68, 76, 65,  48, 61, 47,  51, 66, 52,  49, 66, 52,  35, 50, 36,  53, 64, 48,  87, 92, 77, 106,106, 92, 120,119,105,  67, 89, 65,  62, 84, 60,  58, 84, 60,  58, 88, 63,  52, 80, 57,  56, 71, 50,  80, 84, 65, 108,112, 93,  91,108, 87,  54, 83, 58,  59, 89, 64,  57, 88, 61,  56, 89, 62,  56, 90, 60,  61, 91, 62,  66, 88, 60, 
 59, 70, 62,  59, 70, 62,  55, 63, 56,  54, 62, 52,  70, 75, 66,  80, 88, 77,  69, 79, 66,  57, 70, 56,  47, 65, 48,  43, 62, 45,  49, 68, 49,  53, 69, 51,  58, 70, 52,  95,103, 86, 100,101, 85, 120,120,104,  59, 81, 56,  59, 81, 56,  53, 80, 54,  53, 83, 58,  52, 81, 56,  61, 76, 55,  92, 96, 77, 122,128,109,  89,106, 85,  55, 84, 59,  57, 87, 62,  57, 88, 61,  53, 87, 57,  50, 84, 54,  56, 87, 56,  63, 87, 57, 
 46, 60, 49,  43, 54, 44,  48, 60, 48,  57, 67, 55,  67, 77, 64,  69, 80, 64,  63, 76, 60,  56, 75, 56,  47, 68, 46,  48, 71, 49,  58, 79, 57,  52, 71, 50,  54, 70, 47,  98,107, 86, 100,105, 84, 119,120,100,  69, 92, 64,  64, 87, 59,  59, 84, 56,  45, 76, 49,  46, 75, 50,  59, 77, 54,  86, 92, 73, 127,136,116,  87,107, 84,  57, 86, 61,  55, 86, 59,  59, 90, 61,  57, 91, 61,  55, 89, 58,  63, 96, 62,  70, 97, 64, 
 50, 65, 51,  46, 61, 47,  54, 67, 51,  56, 69, 53,  62, 76, 58,  58, 72, 54,  53, 72, 51,  53, 75, 51,  45, 69, 45,  43, 67, 43,  49, 73, 49,  47, 68, 43,  59, 75, 51,  86, 95, 74,  91, 96, 75, 121,123,103,  68, 92, 62,  73, 97, 67,  56, 81, 53,  47, 78, 49,  51, 80, 54,  57, 75, 52,  89, 98, 77, 127,139,117,  78,100, 76,  52, 82, 57,  52, 83, 56,  60, 91, 62,  62, 94, 63,  59, 94, 60,  65, 98, 63,  69, 99, 64, 
 45, 61, 43,  47, 64, 43,  54, 71, 50,  49, 66, 45,  59, 77, 54,  59, 77, 54,  56, 77, 52,  53, 75, 50,  52, 77, 51,  50, 75, 47,  49, 74, 48,  58, 79, 54,  63, 79, 55,  89, 99, 76,  88, 94, 71, 112,114, 94,  55, 79, 47,  60, 84, 52,  57, 83, 53,  46, 78, 47,  53, 83, 54,  61, 82, 57,  82, 95, 71, 127,140,118,  72, 97, 71,  59, 90, 63,  64, 95, 66,  73,104, 73,  70,103, 69,  61, 97, 61,  65,101, 65,  68,101, 64, 
 49, 68, 43,  53, 72, 47,  58, 77, 52,  50, 69, 42,  56, 75, 48,  62, 84, 56,  63, 87, 57,  63, 89, 59,  58, 84, 54,  53, 79, 49,  70, 93, 65,  65, 87, 59,  60, 76, 52,  96,106, 83,  78, 85, 64, 100,102, 82,  59, 84, 50,  65, 89, 57,  59, 86, 53,  53, 85, 54,  54, 86, 55,  54, 77, 49,  75, 89, 65, 111,127,103,  63, 90, 64,  60, 94, 64,  69,100, 71,  76,107, 76,  75,108, 74,  68,106, 70,  64,101, 63,  59, 93, 56, 
 51, 71, 42,  60, 80, 51,  62, 82, 53,  59, 80, 48,  62, 85, 53,  69, 92, 60,  63, 87, 55,  57, 84, 51,  67, 94, 61,  62, 88, 58,  66, 90, 60,  59, 81, 53,  65, 81, 57,  95,108, 84,  60, 67, 46,  94, 99, 78,  61, 88, 54,  65, 90, 56,  56, 85, 52,  51, 84, 50,  47, 79, 48,  61, 87, 57,  80, 97, 70,  95,114, 87,  57, 87, 58,  58, 95, 63,  69,101, 70,  74,105, 72,  72,105, 70,  69,105, 69,  64,103, 65,  64, 98, 61, 
 54, 77, 45,  68, 91, 59,  67, 91, 57,  64, 88, 54,  62, 86, 52,  66, 91, 57,  63, 90, 56,  61, 88, 54,  57, 84, 50,  60, 87, 54,  59, 83, 53,  60, 82, 53,  66, 83, 56, 103,117, 93,  58, 67, 46,  98,105, 84,  57, 84, 50,  68, 95, 61,  62, 92, 57,  60, 93, 58,  56, 91, 57,  71, 98, 65,  73, 94, 62,  75, 99, 69,  62, 95, 61,  57, 94, 60,  69,102, 68,  82,112, 77,  78,110, 75,  67,104, 66,  61,100, 62,  66,103, 65, 
 63, 87, 53,  69, 93, 59,  59, 83, 49,  57, 83, 47,  59, 85, 49,  64, 90, 54,  63, 91, 55,  60, 88, 52,  60, 88, 52,  59, 86, 52,  60, 84, 52,  61, 83, 54,  75, 94, 67,  97,114, 87,  62, 76, 52, 104,117, 93,  61, 91, 56,  67, 97, 62,  66, 96, 61,  66,102, 66,  70,106, 70,  74,104, 69,  71, 96, 62,  72, 99, 65,  63, 99, 63,  65,106, 69,  77,110, 75,  79,109, 74,  74,107, 70,  70,107, 69,  66,105, 67,  64,101, 63, 
 57, 82, 48,  60, 85, 51,  58, 83, 49,  54, 82, 46,  53, 81, 45,  51, 79, 43,  61, 90, 51,  64, 92, 56,  61, 89, 53,  58, 86, 50,  58, 85, 51,  61, 85, 53,  95,117, 88,  81,100, 73,  67, 84, 57, 114,130,106,  68,100, 65,  61, 91, 56,  66, 98, 63,  72,108, 72,  75,114, 76,  77,110, 73,  80,108, 72,  71,102, 65,  63,102, 64,  60,101, 63,  69,103, 66,  76,107, 70,  74,105, 68,  68,105, 67,  72,111, 73,  79,118, 80, 
 60, 87, 54,  53, 80, 47,  54, 81, 47,  56, 83, 49,  59, 87, 51,  57, 88, 51,  65, 96, 57,  64, 95, 56,  69,100, 61,  68, 96, 60,  63, 91, 55,  67, 92, 58,  77,101, 69,  65, 87, 58,  73, 95, 66, 110,132,103,  67, 99, 64,  64, 96, 61,  71,103, 68,  69,108, 70,  76,115, 77,  76,110, 73,  81,110, 71,  73,107, 67,  69,109, 68,  67,109, 68,  70,105, 65,  70, 98, 62,  69,100, 63,  71,108, 70,  69,110, 72,  65,104, 66, 
 60, 88, 58,  54, 83, 50,  63, 92, 59,  67, 97, 62,  61, 92, 55,  63, 94, 57,  71,102, 63,  71,102, 63,  71,102, 63,  69,100, 61,  65, 93, 57,  65, 93, 57,  53, 80, 46,  70, 94, 62,  93,117, 85, 106,130, 98,  67,100, 65,  75,107, 72,  76,109, 74,  67,106, 68,  74,115, 77,  77,112, 72,  80,111, 72,  84,118, 77,  67,110, 67,  58,102, 61,  64, 99, 59,  74,103, 64,  75,106, 69,  71,108, 70,  66,107, 69,  67,105, 69, 
 62, 90, 60,  56, 84, 54,  68, 97, 64,  76,106, 71,  67, 97, 62,  73,104, 67,  72,103, 64,  66, 97, 58,  70,101, 62,  69,100, 61,  73,104, 65,  73,101, 65,  74,101, 67,  80,107, 73,  90,117, 84,  77,104, 71,  66, 99, 64,  73,105, 70,  80,114, 77,  81,120, 82,  82,124, 83,  85,122, 82,  88,120, 79,  82,118, 76,  71,114, 71,  67,112, 69,  74,109, 69,  77,106, 67,  70,101, 64,  63,100, 62,  62,103, 66,  67,105, 69, 
};
